home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ssssttttrrrriiiinnnnggggssss((((1111)))) ssssttttrrrriiiinnnnggggssss((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- _ssss_tttt_rrrr_iiii_nnnn_gggg_ssss - find printable strings in an object file or binary
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- _ssss_tttt_rrrr_iiii_nnnn_gggg_ssss [ _----_aaaa ] [ _----_oooo ] [ -_n_u_m_b_e_r ] _f_i_l_e_n_a_m_e . . .
-
- or the XPG4 format
-
- _ssss_tttt_rrrr_iiii_nnnn_gggg_ssss [ _----_aaaa ] [ _----_tttt _f_o_r_m_a_t ] [ _----_nnnn _n_u_m_b_e_r ] _f_i_l_e_n_a_m_e . . .
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _ssss_tttt_rrrr_iiii_nnnn_gggg_ssss command looks for ASCII strings in a binary file. A string
- is any sequence of 4 or more printing characters ending with a newline or
- a null character, or (if not in XPG4 mode) any non-printing character.
-
- _ssss_tttt_rrrr_iiii_nnnn_gggg_ssss is useful for identifying random object files and many other
- things.
-
- The following options are available:
-
- _----_aaaa Look everywhere in the file for strings. If this flag is
- omitted, _ssss_tttt_rrrr_iiii_nnnn_gggg_ssss only looks in the initialized data space of
- object files.
-
- _----_oooo Precede each string by its offset in the file.
-
- _----_n_u_m_b_e_r Use _n_u_m_b_e_r as the minimum string length rather than 4.
-
- The following are the options for the XPG4 command-line format:
-
- _----_aaaa Look everywhere in the file for strings. If this flag is
- omitted, _ssss_tttt_rrrr_iiii_nnnn_gggg_ssss only looks in the initialized data space of
- object files.
-
- _----_tttt _f_o_r_m_a_t Precede each string by its offset in the file. The format is
- specified by the _f_o_r_m_a_t argument:
- _dddd Print the offset in decimal.
- _oooo Print the offset in octal.
- _xxxx Print the offset in hexadecimal.
-
- _----_nnnn _n_u_m_b_e_r Use _n_u_m_b_e_r as the minimum string length rather than 4.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- _oooo_dddd(1)
-
- NNNNOOOOTTTTEEEESSSS
- The algorithm for identifying strings is extremely primitive.
-
- For the IRIX 6.5 release, this command was changed to have slightly
- different semantics than the original command, to be XPG4-compliant. The
- XPG4 semantics are that a string is only considered to be a valid string
- if it ends with a NULL or newline character, or ends at the end of a
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ssssttttrrrriiiinnnnggggssss((((1111)))) ssssttttrrrriiiinnnnggggssss((((1111))))
-
-
-
- file. The original semantics were that a string could be ended by any
- non-printing character, or end of file.
-
- As of the 6.5.4 release, the default semantics have been returned to the
- original unix semantics, unless the ____XXXXPPPPGGGG environment variable is set to a
- value greater than zero, in which case the XPG4 semantics are used.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-